<!DOCTYPE html>
<html>
	<head lang="zh">
		<meta charset="UTF-8">
		<title>重置密码</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta name="format-detection" content="telephone=no">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />

		<link rel="stylesheet" href="/static/user/AmazeUI-2.4.2/assets/css/amazeui.min.css" />
		<link href="/static/user/css/dlstyle.css" rel="stylesheet" type="text/css">
		<link href="/static/user/css/way.css" rel="stylesheet" type="text/css">
		<link rel="stylesheet" href="/static/user/css/cxls.css">
		<script src="/static/user/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
        <script src="/static/user/AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>
        <script src="/static/user/js/personal/verifyaccount.js"></script>
		
		<style>
			input{
				outline: none;
			}
		</style>
	</head>

	<body style="background:#ffffff">

		<div class="login-boxtitle">
			<a href="/"><img alt="logo" src="/static/user/images/guangonglogo.jpg" /></a>
		</div>

		<div class="res-banner">
			<div class="res-main">
				<div class="findpassword_box">
					<form action="" method="post" >
						<div>
							<h3 class="title">重置密码</h3>
							
						</div>
						<div class="innerbox">
                            <div style="font-size: 15px;">请选择重置方式</div>
                            <button type="button" id="mail" class="am-btn am-btn-primary am-btn-block am-animation-fade" onclick="tomail()">通过邮箱验证重置密码</button>
							{if $has_question == 1}
								<button type="button" id="question" class="am-btn am-btn-primary am-btn-block am-animation-fade" onclick="toquestion()" >通过密保问题重置密码</button>
							{/if}
						</div>
					</form>
				</div>	
			</div>
			

			{include file="common/footer"}
    </body>
    <script>
        function tomail(){
/*             let a = document.getElementById('mail');
            a.classList = 'am-btn am-btn-primary am-btn-block am-animation-fade am-animation-reverse'; */
            location.assign('/user/Findpassword/mail');
        }
        function toquestion(){
/*             let a = document.getElementById('question');
            a.classList = 'am-btn am-btn-primary am-btn-block am-animation-fade am-animation-reverse'; */
            location.assign('/user/Findpassword/question');
        }
    </script>
</html>


